<%--
  Created by IntelliJ IDEA.
  User: haocongshun
  Date: 2016/8/29
  Time: 18:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String ctxpath = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="en" class="no-js">

<head>

    <meta charset="utf-8">
    <title>登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- CSS -->
    <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700'>
    <link rel="stylesheet" href="assets/css/reset.css">
    <link rel="stylesheet" href="assets/css/supersized.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script type="text/javascript">
        function myReload(){
            document.getElementById("img").src=document.getElementById("img").src+"?nocache="+new Date().getTime();
        }
    </script>

</head>

<body>
<div class="page-container">
    <h1 style="font-weight: bold">作业管理系统</h1>
    <form action="<%=ctxpath%>/login/logincheck.wm" method="post" id="formlogin" name="formlogin">
        <input type="text" name="username" class="username input" placeholder="用户名">
        <input type="password" name="password" class="password input" placeholder="密码">
        <input type="text" name="yan" class="username input" placeholder="验证码">
        <div class="pictureCode">
            <img id="img" src="<%=ctxpath%>/pass/yanzhengma.wm" />
            <a href = "javascript:myReload()" style = "font-size: 13px;margin-left: 5px;" onclick = "myReload()">看不清换一张</a>
        </div>
        <div class="setStatus" id="setStatus">
            <input name="status" id="teacher" type="radio" value="教师" /><span style="line-height: 18px;font-size: 14px;">教师</span>
            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            <input name="status" id="student" type="radio" value="学生"/><span style="line-height: 18px;font-size: 14px;">学生</span>
        </div>
        <button id="loginSub" type="button">登录</button>
        <div class="error"><span>+</span></div>
    </form>
    <div class="connect">

    </div>
</div>


<!-- Javascript -->
<script src="assets/js/jquery-1.8.2.min.js"></script>
<script src="assets/js/supersized.3.2.7.min.js"></script>
<script src="assets/js/supersized-init.js"></script>
<script src="assets/js/scripts.js"></script>
<script src="assets/js/login.js"></script>

</body>

</html>